package com.foreknow.demo7;

public class Employee {
    private int id;
    private String name;
    private double sal;
    private String dept;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getSal() {
        return sal;
    }

    public void setSal(double sal) {
        this.sal = sal;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public Employee(){

    }

    public Employee(int id,String name,double sal,String dept){
        this.id=id;
        this.name=name;
        this.sal=sal;
        this.dept=dept;
    }
}
